package com.ruoyi.his.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医嘱信息对象 medical_order
 * 
 * @author hzr
 * @date 2024-10-18
 */
public class MedicalOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Bed bed;

    public Bed getBed() {
        return bed;
    }

    public void setBed(Bed bed) {
        this.bed = bed;
    }

    @Override
    public String toString() {
        return "MedicalOrder{" +
                "bed=" + bed +
                ", patient=" + patient +
                ", dockerName='" + dockerName + '\'' +
                ", id=" + id +
                ", patientId=" + patientId +
                ", orderTime=" + orderTime +
                ", orderDetail='" + orderDetail + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", status='" + status + '\'' +
                ", updatedAt=" + updatedAt +
                '}';
    }

    public String getDockerName() {
        return dockerName;
    }

    public void setDockerName(String dockerName) {
        this.dockerName = dockerName;
    }

    private Patient patient;
    private String dockerName;

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    /** 医嘱ID */
    private Long id;

    /** 病患ID */
    @Excel(name = "病患ID")
    private Long patientId;

    /** 医嘱时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "医嘱时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 医嘱详情 */
    @Excel(name = "医嘱详情")
    private String orderDetail;

    /** 医嘱类型 */
    @Excel(name = "医嘱类型")
    private String orderStatus;

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    /** 医嘱状态(0待执行 1已完成 2已取消) */
    @Excel(name = "医嘱状态(0待执行 1已完成 2已取消)")
    private String status;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }
    public void setOrderDetail(String orderDetail) 
    {
        this.orderDetail = orderDetail;
    }

    public String getOrderDetail() 
    {
        return orderDetail;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

}
